package com.edu.bean;

import java.util.List;

/**
 * @Auther:zzp
 * @Date:2025/10/17-11:53:56
 */
public class Employee {

    private int id;

    private String empName;

    private int deptId;

    private String position;

    private String salary;

    private String status;

    private Department department;

    private List<Project> projects;

    public List<Project> getProjects() {
        return projects;
    }

    public void setProjects(List<Project> projects) {
        this.projects = projects;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", empName='" + empName + '\'' +
                ", deptId=" + deptId +
                ", position='" + position + '\'' +
                ", salary='" + salary + '\'' +
                ", status='" + status + '\'' +
                ", department=" + department +
                ", projects=" + projects +
                '}';
    }
}
